import { Base } from '../../utils/Base.js';
class Product extends Base {
  constructor() {
    super();
  }

  //获取商品详情
  getProductData(id, callback) {
    var that = this;
    var param = {
      url: 'product/' + id,
      sCallback: function (data) {
        data = data.data;
        callback && callback(data);
      }
    };
    this.request(param);
  }
}
export { Product };